//
//  LoginViewController.h
//  NPS
//
//  Created by jadd on 15/10/14.
//  Copyright © 2015年 jadd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "PrefixHelper.h"
#import "UIColor+HEX.h"
#import "StoresInfoController.h"
#import "RegisterController.h"
#import "Masonry.h"
#import "LoginRequest.h"
#import "RequestHandle.h"
#import "LoginResponse.h"
#import "Config.h"
#import "ImageButton.h"

@interface LoginViewController : UIViewController<UITextFieldDelegate, UIAlertViewDelegate>


@property(strong,nonatomic)  UITextField *userPwd;
@property(strong,nonatomic)  UITextField *userName;
@property bool isKeyBoardShowed;

-(void) setupUi;
-(void) setupBackground;
-(void) setupNavBar;
-(IBAction)loginAction:(id)sender;
-(IBAction)forgetAction:(id)sender;
-(IBAction)askAccountAction:(id)sender; 
-(void) clearTextField;
@end
